/*
 * IRobot.h
 *
 * Author: Samuel Queiroz
 */

#ifndef IROBOT_H_
#define IROBOT_H_

#include "Communication.h"

class Robot
{

private:

	Communication communication;

public:

	/**
	 * Connects the robot to PC through the specified file.
	 *
	 * @return true, if the connection was successful;
	 * 		false otherwise
	 */
	bool connect(const char * file);

	/**
	 * Sets the robot's left and right wheels' speed with the
	 * specified values.
	 */
	void move(int leftSpeed, int rightSpeed);

};

#endif
